www.gusucode.com > 一些VC6文件操作例子含源码源码程序 > 一些VC6文件操作例子含源码/文件操作编程实例/文件操作编程实例/实例53 如何获取文件启动方式/Example/Example.cpp
// Example.cpp: 主项目文件。 #include "stdafx.h" #include "Form1.h" using namespace Example; [STAThreadAttribute] int main(array<System::String ^> ^args) { // 在创建任何控件之前启用 Windows XP 可视化效果 Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // 创建主窗口并运行它 Application::Run(gcnew Form1()); return 0; }